import { RouteRecordRaw } from 'vue-router'

export const routers: RouteRecordRaw[] = [
  {
    path: '/reserve-entry',
    name: 'ReserveEntry',
    component: () => import('./reserve-entry'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-list',
    name: 'ReserveList',
    component: () => import('./reserve-list'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-cancel',
    name: 'ReserveCancel',
    component: () => import('./reserve-cancel'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-release',
    name: 'ReserveRelease',
    component: () => import('./reserve-release'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-record',
    name: 'ReserveRecord',
    component: () => import('./reserve-record'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-edit',
    name: 'ReserveEdit',
    component: () => import('./reserve-edit'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-order',
    name: 'ReserveOrder',
    component: () => import('./reserve-order'),
    props: (route) => route.query,
  },
  {
    path: '/reserve-report',
    name: 'ReserveReport',
    component: () => import('./reserve-report'),
  },
  {
    path: 'release-manege',
    name: 'ReleaseManege',
    component: () => import('./release-manage'),
  },
  {
    path: '/notes-order',
    name: 'NotesOrder',
    component: () => import('./notes-order'),
    meta: { keepAlive: false },
  },
  {
    path: '/records-consult',
    name: 'RecordsConsult',
    component: () => import('./records-consult'),
  },
]
